package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.Log;
import org.apache.ibatis.annotations.Param;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

public interface LogMapper {
    int deleteByPrimaryKey(String tid);

    int insert(Log record);

    int insertSelective(Log record);

    Log selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(Log record);

    int updateByPrimaryKey(Log record);

    List<String> selectListTid(@Param("starttime") Date starttime, @Param("endtime") Date endtime
            , @Param("key") String key);

    List<Log> findPagingByListTid(@Param("listTid") List<String> listTid, @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);
}